Do not reproduce utf8proc_data.c during automated build
authorPeter Colberg <peter@colberg.org>
Tue, 3 Nov 2015 19:50:51 +0000 (14:50 -0500)
committerPeter Colberg <peter@colberg.org>
Tue, 3 Nov 2015 19:50:51 +0000 (14:50 -0500)
Drop Build-Depends on julia, which would result in a cyclic dependency
when bootstrapping utf8proc and julia for Debian-based distributions.

https://lists.alioth.debian.org/pipermail/pkg-julia-devel/Week-of-Mon-20151102/000723.html

debian/control
debian/rules

index 5003867ba8f92c4a399803f15e27579ddc65dd63..52a1853f1ea4a3283c19af26732e261f6747ab8b 100644 (file)
@@ -2,8 +2,7 @@ Source: utf8proc
 Priority: optional
 Maintainer: Debian Julia Team <pkg-julia-devel@lists.alioth.debian.org>
 Uploaders: Peter Colberg <peter@colberg.org>, Graham Inggs <ginggs@debian.org>
-Build-Depends: debhelper (>= 9), unicode-data (>= 8.0), ttf-unifont (>= 8.0.01),
- fontforge, perl, ruby, julia [amd64 i386]
+Build-Depends: debhelper (>= 9), unicode-data (>= 8.0), perl
 Standards-Version: 3.9.6
 Section: libs
 Homepage: http://julialang.org/utf8proc/
index b22c88e73052f4c94d84d3df5f2f0fadc38443c9..9f570538090e6ef37450f382f98d01742c1bc24e 100755 (executable)
@@ -2,17 +2,6 @@
 %:
        dh $@
 
-override_dh_auto_build:
-       dh_auto_build
-ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386))
-       # For architectures that provide a julia package, reproduce the
-       # complete build process, by generating `utf8proc_data.c` from
-       # the Unicode data and GNU Unifont, and comparing with the one
-       # shipped by upstream.
-       dh_auto_build -- data
-       diff data/utf8proc_data.c.new utf8proc_data.c
-endif
-
 override_dh_auto_install:
        dh_auto_install -- prefix=/usr libdir=/usr/lib/$(DEB_HOST_MULTIARCH)